package com.woniuxy.woniuhis.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.woniuxy.woniuhis.entity.Illness;
import com.woniuxy.woniuhis.mapper.IllnessMapper;
import com.woniuxy.woniuhis.service.IllnessService;

@Service
public class IllnessServiceImpl implements IllnessService{
	
	@Autowired
	IllnessMapper illnessMapper;

	@Override
	public List<Illness> findAIllnesses() {
		List<Illness> illnesses = illnessMapper.selectAllIllnesses();
		return illnesses;
	}

}
